<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		#out {
			margin: 0 auto;
			width:500px;
			height: 500px;
			background-color: #ccc;
			overflow: hidden;
		}
		#in	{
			margin: 0 auto;
			margin-top:100px;
			width:200px;
			height:200px;
			background-color: rgb(104, 158, 228);
			overflow: hidden;
		}
	</style>
	<script src='http://libs.baidu.com/jquery/1.9.0/jquery.js'></script>
</head>
<body>
	<div id="out">
		<div id="in">
			
		</div>
	</div>
	<script>
		function outFun() {
			console.log('out');
		}
		function inFun() {
			console.log('in');
		}

		document.getElementById('out').addEventListener('mouseup', outFun, false);
		document.getElementById('in').addEventListener('mouseup', inFun, false);
		// document.write('<p>新插入的节点，使用document.write()插入的</p>');
	</script>
	<script async defer src='async.js'></script>
</body>
</html>